package com.dto.cnc;

import java.util.HashMap;
import java.util.Map;
import java.util.SortedMap;

public class ToolsDTO {

    //    刀具Id
    private static Map<Integer, Integer> toolId = new HashMap<>();

    //   位置
    private static Map<Integer, String> toolPos = new HashMap<>();
    //   刀号
    private static Map<Integer, Integer> toolNum = new HashMap<>();
    //   类型
    private static Map<Integer, Integer> toolType = new HashMap<>();
    //   刀具名称
    private static Map<Integer, String> toolName = new HashMap<>();
    //    ST（姊妹刀具号）
    private static Map<Integer, Integer> toolStName = new HashMap<>();
    //    D（刀沿号）
    private static Map<Integer, Integer> toolDName = new HashMap<>();
//  超大刀具尺寸
    private static Map<Integer, Double> toolSiz = new HashMap<>();

    /*刀尖位置*/
    private static Map<Integer, String> toolEdp = new HashMap<>();


    // "磨损长度 X" field="clx"
    private static Map<Integer, Double> toolClx = new HashMap<>();
    // "磨损长度 Y" field="cly"
    private static Map<Integer, Double> toolCly = new HashMap<>();
    // "磨损长度 Z" field="clz"
    private static Map<Integer, Double> toolClz = new HashMap<>();
    //  "磨损刀尖角" field="cca"
    private static Map<Integer, Double> toolCca = new HashMap<>();

    //  "磨损主偏角" field="cma"
    private static Map<Integer, Double> toolCma = new HashMap<>();
    // "磨损刀具半径" field="csr"
    private static Map<Integer, Double> toolCsr = new HashMap<>();
    // "磨损刀尖半径" field="ccr"
    private static Map<Integer, Double> toolCcr = new HashMap<>();

    //   长度X
    private static Map<Integer, Double> toolXLen = new HashMap<>();
    //    长度Y
    private static Map<Integer, Double> toolYLen = new HashMap<>();
    //   长度Z
    private static Map<Integer, Double> toolZLen = new HashMap<>();

    //   刀具半径
    private static Map<Integer, Double> toolBodyRadius = new HashMap<>();
    //    刀尖半径
    private static Map<Integer, Double> toolHeadRadius = new HashMap<>();
    //   偏置Z
    private static Map<Integer, Double> toolZOffset = new HashMap<>();
    //   偏置X
    private static Map<Integer, Double> toolXOffset = new HashMap<>();
    //   偏置Y
    private static Map<Integer, Double> toolYOffset = new HashMap<>();
    //   刀尖角度
    private static Map<Integer, Double> toolHeadAngle = new HashMap<>();
    //   主偏角
    private static Map<Integer, Double> toolDeflection = new HashMap<>();
    //   刀刃长
    private static Map<Integer, Double> toolEdgeLen = new HashMap<>();
    //   齿数
    private static Map<Integer, Integer> toolTeethNum = new HashMap<>();
    //    转速
    private static Map<Integer, Double> toolSpeed = new HashMap<>();
    //    方向
    private static Map<Integer, String> toolDirection = new HashMap<>();
    //    冷却1
    private static Map<Integer, String> toolCool1 = new HashMap<>();
    //     冷却2
    private static Map<Integer, String> toolCool2 = new HashMap<>();


    /*MON 寿命监控方式（0-关闭；1-时间；2-磨损量；3-计件）*/
    private static Map<Integer, String> mon = new HashMap<>();
    private static Map<Integer, Integer> monNum = new HashMap<>();

    /*LIF 刀具寿命累计值（数值含义和单位取决于 MON 的值）*/
    private static Map<Integer, Double> lif = new HashMap<>();
    /*TAR 刀具寿命极限值（数值含义和单位取决于 MON 的值）*/
    private static Map<Integer, Double> tar = new HashMap<>();
    /*ALM 刀具寿命预警值（数值含义和单位取决于 MON 的值）*/
    private static Map<Integer, Double> alm = new HashMap<>();


    /*JSON格式*/
    private static Map<Integer, SortedMap<String, String>> mapJson;   //通过子类实例化接口对象

    public static Map<Integer, SortedMap<String, String>> getMapJson() {
        return mapJson;
    }

    public static void setMapJson(Map<Integer, SortedMap<String, String>> mapJson) {
        ToolsDTO.mapJson = mapJson;
    }

    ////////////////////////////////////////////////////////////////////////////


    public static Map<Integer, Double> getToolSiz() {
        return toolSiz;
    }

    public static void setToolSiz(Map<Integer, Double> toolSiz) {
        ToolsDTO.toolSiz = toolSiz;
    }

    public static Map<Integer, String> getToolEdp() {
        return toolEdp;
    }

    public static void setToolEdp(Map<Integer, String> toolEdp) {
        ToolsDTO.toolEdp = toolEdp;
    }

    public static Map<Integer, Double> getToolClx() {
        return toolClx;
    }

    public static void setToolClx(Map<Integer, Double> toolClx) {
        ToolsDTO.toolClx = toolClx;
    }

    public static Map<Integer, Double> getToolCly() {
        return toolCly;
    }

    public static void setToolCly(Map<Integer, Double> toolCly) {
        ToolsDTO.toolCly = toolCly;
    }

    public static Map<Integer, Double> getToolClz() {
        return toolClz;
    }

    public static void setToolClz(Map<Integer, Double> toolClz) {
        ToolsDTO.toolClz = toolClz;
    }

    public static Map<Integer, Double> getToolCca() {
        return toolCca;
    }

    public static void setToolCca(Map<Integer, Double> toolCca) {
        ToolsDTO.toolCca = toolCca;
    }

    public static Map<Integer, Double> getToolCma() {
        return toolCma;
    }

    public static void setToolCma(Map<Integer, Double> toolCma) {
        ToolsDTO.toolCma = toolCma;
    }

    public static Map<Integer, Double> getToolCsr() {
        return toolCsr;
    }

    public static void setToolCsr(Map<Integer, Double> toolCsr) {
        ToolsDTO.toolCsr = toolCsr;
    }

    public static Map<Integer, Double> getToolCcr() {
        return toolCcr;
    }

    public static void setToolCcr(Map<Integer, Double> toolCcr) {
        ToolsDTO.toolCcr = toolCcr;
    }

    public static Map<Integer, Integer> getToolId() {
        return toolId;
    }

    public static void setToolId(Map<Integer, Integer> toolId) {
        ToolsDTO.toolId = toolId;
    }

    public static Map<Integer, Integer> getToolNum() {
        return toolNum;
    }

    public static void setToolNum(Map<Integer, Integer> toolNum) {
        ToolsDTO.toolNum = toolNum;
    }

    public static Map<Integer, String> getToolPos() {
        return toolPos;
    }

    public static void setToolPos(Map<Integer, String> toolPos) {
        ToolsDTO.toolPos = toolPos;
    }


    public static Map<Integer, Integer> getToolType() {
        return toolType;
    }

    public static void setToolType(Map<Integer, Integer> toolType) {
        ToolsDTO.toolType = toolType;
    }

    public static Map<Integer, String> getToolName() {
        return toolName;
    }

    public static void setToolName(Map<Integer, String> toolName) {
        ToolsDTO.toolName = toolName;
    }

    public static Map<Integer, Integer> getToolStName() {
        return toolStName;
    }

    public static void setToolStName(Map<Integer, Integer> toolStName) {
        ToolsDTO.toolStName = toolStName;
    }

    public static Map<Integer, Integer> getToolDName() {
        return toolDName;
    }

    public static void setToolDName(Map<Integer, Integer> toolDName) {
        ToolsDTO.toolDName = toolDName;
    }

    public static Map<Integer, Double> getToolXLen() {
        return toolXLen;
    }

    public static void setToolXLen(Map<Integer, Double> toolXLen) {
        ToolsDTO.toolXLen = toolXLen;
    }

    public static Map<Integer, Double> getToolYLen() {
        return toolYLen;
    }

    public static void setToolYLen(Map<Integer, Double> toolYLen) {
        ToolsDTO.toolYLen = toolYLen;
    }

    public static Map<Integer, Double> getToolZLen() {
        return toolZLen;
    }

    public static void setToolZLen(Map<Integer, Double> toolZLen) {
        ToolsDTO.toolZLen = toolZLen;
    }

    public static Map<Integer, Double> getToolBodyRadius() {
        return toolBodyRadius;
    }

    public static void setToolBodyRadius(Map<Integer, Double> toolBodyRadius) {
        ToolsDTO.toolBodyRadius = toolBodyRadius;
    }

    public static Map<Integer, Double> getToolHeadRadius() {
        return toolHeadRadius;
    }

    public static void setToolHeadRadius(Map<Integer, Double> toolHeadRadius) {
        ToolsDTO.toolHeadRadius = toolHeadRadius;
    }

    public static Map<Integer, Double> getToolZOffset() {
        return toolZOffset;
    }

    public static void setToolZOffset(Map<Integer, Double> toolZOffset) {
        ToolsDTO.toolZOffset = toolZOffset;
    }

    public static Map<Integer, Double> getToolXOffset() {
        return toolXOffset;
    }

    public static void setToolXOffset(Map<Integer, Double> toolXOffset) {
        ToolsDTO.toolXOffset = toolXOffset;
    }

    public static Map<Integer, Double> getToolYOffset() {
        return toolYOffset;
    }

    public static void setToolYOffset(Map<Integer, Double> toolYOffset) {
        ToolsDTO.toolYOffset = toolYOffset;
    }

    public static Map<Integer, Double> getToolHeadAngle() {
        return toolHeadAngle;
    }

    public static void setToolHeadAngle(Map<Integer, Double> toolHeadAngle) {
        ToolsDTO.toolHeadAngle = toolHeadAngle;
    }

    public static Map<Integer, Double> getToolDeflection() {
        return toolDeflection;
    }

    public static void setToolDeflection(Map<Integer, Double> toolDeflection) {
        ToolsDTO.toolDeflection = toolDeflection;
    }

    public static Map<Integer, Double> getToolEdgeLen() {
        return toolEdgeLen;
    }

    public static void setToolEdgeLen(Map<Integer, Double> toolEdgeLen) {
        ToolsDTO.toolEdgeLen = toolEdgeLen;
    }

    public static Map<Integer, Integer> getToolTeethNum() {
        return toolTeethNum;
    }

    public static void setToolTeethNum(Map<Integer, Integer> toolTeethNum) {
        ToolsDTO.toolTeethNum = toolTeethNum;
    }

    public static Map<Integer, Double> getToolSpeed() {
        return toolSpeed;
    }

    public static void setToolSpeed(Map<Integer, Double> toolSpeed) {
        ToolsDTO.toolSpeed = toolSpeed;
    }

    public static Map<Integer, String> getToolDirection() {
        return toolDirection;
    }

    public static void setToolDirection(Map<Integer, String> toolDirection) {
        ToolsDTO.toolDirection = toolDirection;
    }

    public static Map<Integer, String> getToolCool1() {
        return toolCool1;
    }

    public static void setToolCool1(Map<Integer, String> toolCool1) {
        ToolsDTO.toolCool1 = toolCool1;
    }

    public static Map<Integer, String> getToolCool2() {
        return toolCool2;
    }

    public static void setToolCool2(Map<Integer, String> toolCool2) {
        ToolsDTO.toolCool2 = toolCool2;
    }

    public static Map<Integer, String> getMon() {
        return mon;
    }

    public static void setMon(Map<Integer, String> mon) {
        ToolsDTO.mon = mon;
    }

    public static Map<Integer, Double> getLif() {
        return lif;
    }

    public static void setLif(Map<Integer, Double> lif) {
        ToolsDTO.lif = lif;
    }

    public static Map<Integer, Double> getTar() {
        return tar;
    }

    public static void setTar(Map<Integer, Double> tar) {
        ToolsDTO.tar = tar;
    }

    public static Map<Integer, Double> getAlm() {
        return alm;
    }

    public static void setAlm(Map<Integer, Double> alm) {
        ToolsDTO.alm = alm;
    }

    public static Map<Integer, Integer> getMonNum() {
        return monNum;
    }

    public static void setMonNum(Map<Integer, Integer> monNum) {
        ToolsDTO.monNum = monNum;
    }
}
